package com.kayang.feishu.pojo.msg;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

//图文消息
@Data
public class Sticker extends BaseMsg {



    private String msgtype = "news";

    @NotNull
    private int agentid;

    @NotNull
    //{
    //       "articles" : [
    //           {
    //               "title" : "中秋节礼品领取",
    //               "description" : "今年中秋节公司有豪礼相送",
    //               "url" : "URL",
    //               "picurl" : "https://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png",
    //			   "appid": "wx123123123123123",
    //        	   "pagepath": "pages/index?userid=zhangsan&orderid=123123123"
    //           }
    //        ]
    //   }
    private Map news; // 1-8条图文

    private int safe;

    //开启id转义
    private int enable_id_trans;


}
